package com.ylr.retrofitLearning.Api;


import com.github.lianjiatech.retrofit.spring.boot.annotation.Intercept;
import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import com.ylr.retrofitLearning.Interceptor.TestInterceptor;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;


@RetrofitClient(baseUrl = "https://www.cnblogs.com")
@Intercept(handler = TestInterceptor.class,include = {"/wondertwo/**"})
public interface TestHttpApi {
    @GET("wondertwo/p/{id}")
    String getText(@Path("id") String id);

    @GET("wanghongyang/p/{id}")
    String getText1(@Path("id") String id);

}
